package main

import (
	"exam/rpc/consul"
	"exam/rpc/grpc"
	"exam/rpc/initiate/mysql"
	"exam/rpc/initiate/redis"
	"exam/rpc/nacos"
	"exam/service/config"
	grpc2 "google.golang.org/grpc"
)

func main() {
	config.GetViperConfig()
	nacos.NewNaCos()
	nac := nacos.Config
	mysql.MysqlInit()
	redis.RedisInit()
	consul.ConSul()
	grpc.ServerUserGroup(nac.Grpc.Host, nac.Grpc.Port, func(server *grpc2.Server) {

	})
}
